Release 10.1A: OpenEdge Development:
Progress 4GL Handbook


Using queries to share data between procedures

A query is also a true object in Progress. It has a definition and a name, and you can use the name to access it anywhere in your procedure. You have already learned a little about handles, which give you a reference to an object that you can pass from procedure to procedure. Using a query’s handle, you can access the query and its result set from anywhere in your application session. This gives you the ability to modularize your application in ways that can’t be done with block-oriented result sets, which are not named objects and which have no meaning or visibility outside their defined scope. You’ll learn a lot more about how to use a query’s handle to access its data in later chapters that discuss dynamic data retrieval language.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095